This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
An example of a genetics test report with Family member history
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/sct/> .
@prefix xs: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir//DiagnosticReport/dg2> a fhir:DiagnosticReport;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "dg2"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:DomainResource.contained [
fhir:index 0;
fhir:FamilyMemberHistory [
fhir:index 0;
fhir:Resource.id [ fhir:value "f1-genetics" ];
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation" ];
fhir:Extension.valueReference [
fhir:reference <http://hl7.org/fhir/DiagnosticReport/dgf1>;
fhir:Reference.reference [ fhir:value "DiagnosticReport/dgf1" ] ] ];
fhir:FamilyMemberHistory.patient [
fhir:reference <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ] ];
fhir:FamilyMemberHistory.status [ fhir:value "completed" ];
fhir:FamilyMemberHistory.relationship [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/familial-relationship" ];
fhir:Coding.code [ fhir:value "MTH" ];
fhir:Coding.display [ fhir:value "Mother" ] ] ] ]
];
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory" ];
fhir:Extension.valueReference [
fhir:Reference.reference [ fhir:value "#dg1" ] ]
];
fhir:DiagnosticReport.status [ fhir:value "final"];
fhir:DiagnosticReport.category [
a sct:15220000;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:15220000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "15220000" ];
fhir:Coding.display [ fhir:value "Laboratory test" ] ];
fhir:CodeableConcept.coding [
fhir:index 1;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0074" ];
fhir:Coding.code [ fhir:value "LAB" ] ]
];
fhir:DiagnosticReport.code [
a loinc:55233-1;
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:55233-1;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "55233-1" ];
fhir:Coding.display [ fhir:value "Genetic analysis master panel" ] ]
];
fhir:DiagnosticReport.subjectReference [
fhir:reference <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers(MRN: 12345)" ]
];
fhir:DiagnosticReport.effectiveDateTime [ fhir:value "2015-05-26T15:30:10+01:00"^^xs:dateTime];
fhir:DiagnosticReport.issued [ fhir:value "2014-05-16T10:28:00+01:00"^^xs:dateTime];
fhir:DiagnosticReport.performerReference [
fhir:reference <http://hl7.org/fhir/Practitioner/genetics-example2>;
fhir:Reference.reference [ fhir:value "Practitioner/genetics-example2" ];
fhir:Reference.display [ fhir:value "Molecular Diagnostic Laboratory" ]
];
fhir:DiagnosticReport.specimen [
fhir:index 0;
fhir:reference <http://hl7.org/fhir/Specimen/genetics-example2>;
fhir:Reference.reference [ fhir:value "Specimen/genetics-example2" ];
fhir:Reference.display [ fhir:value "Molecular Specimen ID: MLD45-Z4-1234" ]
];
fhir:DiagnosticReport.result [
fhir:index 0;
fhir:reference <http://hl7.org/fhir/Observation/ob-genetics-3-1>;
fhir:Reference.reference [ fhir:value "Observation/ob-genetics-3-1" ];
fhir:Reference.display [ fhir:value "Genetic analysis for BRAC -1" ]
];
fhir:DiagnosticReport.result [
fhir:index 1;
fhir:reference <http://hl7.org/fhir/Observation/ob-genetics-3-2>;
fhir:Reference.reference [ fhir:value "Observation/ob-genetics-3-2" ];
fhir:Reference.display [ fhir:value "Genetic analysis for BRAC -2" ]
].
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.